#pragma once

#include "FrameOperation.h"

class CLoadArgumentAddressOperation : public IFrameOperation
{

public:
    CLoadArgumentAddressOperation(uint32_t InParameterIndex)
    {
        ParameterIndex = InParameterIndex;
    }

    virtual EFrameOperationType GetType() const override
    {
        return EFrameOperationType::LoadArgumentAddress;
    }

    uint32_t GetParameterIndex() const
    {
        return ParameterIndex;
    }
protected:
    uint32_t ParameterIndex;
};